<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"/>
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/root.css"/>
    <link rel="stylesheet" type="text/css" href="css/account/user.css"/>
    <link rel="stylesheet" type="text/css" href="css/address/address.css"/>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js?ver=2.0.4" charset="utf-8"></script>
    <script type="text/javascript" src="js/underscore-min.js"></script>
    <script src="js/base/api.js"></script>
    <script src="js/base/base.js"></script>
    <script src="js/vue/vue.js"></script>
<!--    <script src="cordova.js"></script>-->

    <script type="text/javascript" src="js/magiclamp.js?ver=2.0.3" charset="utf-8"></script>
    <script src="js/express_template/host_express_template.js"></script>

</head>
<body>
<div id="host_express_html">
    <header>
        <a @click="page_back" v-if="baseConfig.is_phone" class="h-left back-btn">
            <i class="iconfont icon-fanhui"></i>
        </a>
        <h1 class="h-title">运费模板管理 </h1>
    </header>
    <div id="root" class="h-t-bar">
        <!--用户操作列表-->
        <div class="add-list" v-for="express in express_list" >
            <div >
                <div class="address-content border-top">
                    <div>{{express.name}}</div>
                    <div class="right">
                        <div class="btn red-font" @click="modefy_express_name(express)" v-if="express.is_modefy">修改</div>
                        <div class="btn" @click="modefy_express(express.id, express.is_modefy)" v-if="express.is_modefy">编辑</div>
                        <div class="btn" @click="modefy_express(express.id, express.is_modefy)" v-if="!express.is_modefy">查看</div>
                    </div>
                </div>

            </div>
        </div>
        <div class="list-button">
            <button type="button" @click="create_express">新建运费模板(最多30个模板)</button>
        </div>
    </div>
</div>
</body>
</html>